package com.juitar.base.enumerator;
/**
 * Circular buffer of frets.
 * 
 * @author SKopylov
 */

public interface IFretEnumerator {
	
	/**
	 * Moves to next fret and makes it current.
	 * @return boolean false if there is not next fret
	 */
	boolean next();
	
	/**
	 * Gets current fret. First fret initially is current.
	 * @return int current fret
	 */
	int get();

	/**
	 * Use after <code>next()</code> return false. 
	 */
	void reset();
}


